export const rules = {
    name:[
        {
            require: true,
            message: '用户名必填',
            trigger:'blur'
        },
        {
            pattern:/^[a-zA-Z0-9]{5,10}$/,
            message:'用户名必须是5－10个字母或数字',
            trigger:'blur'
        }
    ]
    
}